//  导入路由插件
import Vue from 'vue'
import Router from 'vue-router'
// 导入上面定义content的内容页面组件
import Content from '../my_components/Content.vue'
// 导入上面定义main的首页页面组件
import main from '../my_components/main.vue'
// 导入页面出错的NotFound的页面组件
import NotFound from '../my_components/NotFound.vue'

Vue.use(Router)

export default new Router({
  routes: [
    {
      //
      path: '/Content',
      name: 'Content',
      component: Content
    },
    {
      path: '/main',
      name: 'main',
      component: main
    }
  ]
})
